package com.lz.service.impl;

import com.lz.dao.UserDao;
import com.lz.domain.User;
import com.lz.service.UserService;

public class UserServiceImpl implements UserService {
  private UserDao userDao;

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public User FindById(int id) {
        User user = userDao.FindById(id);
        return user;
    }
}
